package com.aaa.hospital.pojo.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Log implements Serializable {

    @ExcelProperty(value = "日志编号",index = 0)
    private  Integer   id;
    @ExcelProperty(value = "操作者姓名",index = 1)
    private  String    username;
    @ExcelProperty(value = "操作名称",index = 2)
    private  String    msg;
    @ExcelProperty(value = "操作结果",index = 3)
    private  Integer   result;
    @ExcelProperty(value = "操作时间",index = 4)
    private  String    time;
    @ExcelProperty(value = "操作者IP地址",index = 5)
    private  String    ipaddr;
    @ExcelProperty(value = "操作内容",index = 6)
    private  String    data;

}